package com.yeyks.dal.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * web_socket_log
 * @author 
 */
@Data
public class WebSocketLog implements Serializable {
    private Integer id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 用于账户登陆的账户名
     */
    private String username;

    /**
     * sessionId
     */
    private String sessionId;

    /**
     * websocket连接时间或断开时间
     */
    private Date socketTime;

    /**
     * 连接或断开状态描述
     */
    private String type;

    private static final long serialVersionUID = 1L;
}